package com.example.springsecurity.service;

import java.sql.SQLException;
import java.util.List;

public interface HiveService {

    Object select(String hql);

    List<String> listAllTables();

    List<String> describeTable(String tableName);

    List<List<String>> selectFromTable(String tableName) throws SQLException;

    List<List<String>> selectFromTableExSql(String tableName, String exSql) throws SQLException;
}
